package com.hspedu.homework.homework9;


public class LabelededPoint extends Point {
    private String label;

    public LabelededPoint( String label,double x, double y) {
        super(x, y);
        this.label = label;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
